@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="vtype" value="${item.validationType}">

            <div class="row">

                <div class="col-sm-12 b-r">
                    <div style="color: orangered;font-size: 16px;    padding: 5px 0px 20px 20px;">修改信息后会重新生成CDKEY</div>
                </div>
                <div class="col-sm-6 b-r">
                    <#input id="ip" name="服务器的IP" value="${item.ip}" underline="true"/>
                    <#input id="port" name="服务器端口" value="${item.port}" underline="true"/>
                    <#input id="serverName" name=" 服务器名称" value="${item.serverName}" underline="true"/>
                    <#input id="cdkey" name="CDKEY" value="${item.cdkey}" underline="true" readonly='true' />
                    <#select name="验证方式" id="validationType" value="${item.validationType}">
                        <option value="1">在线</option>
                        <option value="0">离线</option>
                    </#select>
                </div>

                <div class="col-sm-6">
                    <#input id="machineCode" name="机器码" value="${item.machineCode}" underline="true" />
                    <#input id="createUser" name="创建人" value="${item.createUser}" underline="true" readonly='true' />
                    <#input id="creatTime" name="创建时间" value="${item.creatTime}" readonly='true'/>
                    <#input id="updateUser" name="更新人" value="${item.updateUser}" readonly='true' />
                    <#input id="updateTime" name="更新时间" value="${item.updateTime}" underline="true" readonly='true' />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check"
                    clickFun="PcServerInfoInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser"
                    clickFun="PcServerInfoInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/charon/pcServerInfo/pcServerInfo_info.js"></script>
@}
